from concurrent.futures import thread
import jsonrpclib
import threading 

# server = jsonrpclib.ServerProxy("http://localhost:8080")
# print(server.add(2, 3))


def request():
    server = jsonrpclib.ServerProxy("http://localhost:8080")
    print(server.add(2, 3))

for i in range(10):
    thread = threading.Thread(target=request)
    thread.start()

import time
time.sleep(5)